//
//  GHPlayerView.h
//  GHPlayer
//
//  Created by GH on 16/3/21.
//  Copyright © 2016年 GH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface GHPlayerView : UIView

@property (nonatomic ,retain)AVPlayer *player;
@property (nonatomic ,retain)AVPlayerLayer *playerlayer;
@property (nonatomic ,retain)AVPlayerItem *playeritem;
@property (nonatomic ,retain)UIView *bottomView;
@property (nonatomic ,retain)UISlider *progressSlider;
@property (nonatomic ,retain)UILabel *timeLabel;


- (instancetype)initWithFrame:(CGRect)frame videoWithUrlstr:(NSString *) urlstr;

@end
